<?php

/**
 * @name commentreportlog.php
 * @msg  评论举报记录表
 *  @date 2015-07-08
 *  @author:YangLiu
 */
namespace haibao\comment\model\data;

class CommentReportLog extends \haibao\comment\model\data\Base {
    
    /**
     * 举报类型
     * @var unknown
     */
    const PORNOGRAPHY='色情淫秽';
    const HARASS_ABSUE = '骚扰谩骂';
    const AD_FRAUD = '广告欺诈';
    const REACTION = ' 反动';
    const OTHER = '其他';
     
    
   /**
    * 评论ID
    */
	
   public $CommentId;

   /**
    * 用户ID
    */
   
   public $UserId;
   
   /**
    * 被举报的用户ID
    */
   
   public $ReportUserId;
    
   
   /**
    * 用户举报类型
    */
 
   public $ReportType;
   
   /**
    *举报原因 
    */
   public $ReportReason;
   
   /**
    *创建时间
    */
   
   public $CreateTime;
   
   public $CommentInfo;
   
   public $ReportInfo;
   
   /**
    * 是否被禁止 0为禁止，1为正常
    */
   public $CheckBanInfo = 1;
   
   public $BanId;
   

	public function __construct() {
		parent::__construct ();
		
		$this->intField('CommentId', 'CommentId',true);
		$this->intField('UserId', 'UserId',true);
		$this->intField('ReportUserId', 'ReportUserId',true);
		$this->intField('ReportType', 'ReportType',true);
		$this->stringField('ReportReason', 'ReportReason');
		$this->dateField ( 'CreateTime', 'CreateTime', true );
		$this->setTableName ( 'CommentReportLog' );
	}
}